Skip to content

docs: update model parameter as optional in docs and examples#666

Merged
FL4TLiN3 merged 2 commits intomainfrom
docs/update-model-optional-in-docs-and-e2e
Mar 2, 2026
Merged

docs: update model parameter as optional in docs and examples#666
FL4TLiN3 merged 2 commits intomainfrom
docs/update-model-optional-in-docs-and-e2e

Conversation

@FL4TLiN3
Copy link
Contributor

@FL4TLiN3 FL4TLiN3 commented Mar 2, 2026

Summary

  • Remove hardcoded model values from all run() code examples across docs and READMEs, replacing with comments explaining auto-resolution
  • Rewrite the "Default Model" section in providers-and-models.md to explain the tier-based resolution system (defaultModelTier → provider middle tier → manual override)
  • Update --model CLI default from claude-sonnet-4-5 to auto in the CLI reference

Follows up on #663 which made model optional in RunSetting / RunParamsInput.

Test plan

  • bun run build passes
  • bun run typecheck passes
  • Manual review of rendered markdown

🤖 Generated with Claude Code

FL4TLiN3 and others added 2 commits March 2, 2026 12:53
Since #663 made `model` optional in RunSetting/RunParamsInput with
tier-based auto-resolution, update all documentation and code examples
to reflect this change. Remove hardcoded model values from run() calls,
add comments explaining auto-resolution, and rewrite the default model
documentation to explain the tier-based system.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 enabled auto-merge (squash) March 2, 2026 12:55
@FL4TLiN3 FL4TLiN3 merged commit 215b14e into main Mar 2, 2026
19 of 20 checks passed
@FL4TLiN3 FL4TLiN3 deleted the docs/update-model-optional-in-docs-and-e2e branch March 2, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant